home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-01-26 | 959 b | 28 lines | [TEXT/KAHL] |
- //=============================================================================
- // Little Smalltalk, version 3
- // Written by Tim Budd, Oregon State University, July 1988
- //
- // Symantec Think Class Library interface code
- // ©Julian Barkway, April 1994, all rights reserved.
- //
- // CLStScrollPane.cp
- // -----------------
- // Overridden methods from CScrollPane.cp
- //=============================================================================
-
-
- #include "CLStScrollPane.h"
- #include "CLStApp.h"
-
- extern CLStApp *gSmalltalk;
-
- //={OVERRIDE}==================================================================
- // Override AdjustScrollMax () to eliminate mouse downs in the scrollbars.
- //=============================================================================
- void CLStScrollPane::AdjustScrollMax (void)
- {
- inherited::AdjustScrollMax ();
- if (gSmalltalk->winPart == inContent)
- gSmalltalk->lastEvent.what = 0; /* No need to pass this event to Smalltalk */
- }
-